#include "customizeedit.h"


CustomizeEdit::CustomizeEdit(QWidget *parent):QLineEdit(parent)
{
    connect(this,&QLineEdit::textChanged,this,&CustomizeEdit::limitTextLength);

}

void CustomizeEdit::SetMaxLength(int max_len)
{
    _max_len=max_len;
}
